package com.xinyue.game.center.account.dao;

import com.xinyue.game.center.account.dao.entity.Account;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author 王广帅
 * @Date 2021/4/29 0:24
 */
@Repository
public interface AccountDao extends MongoRepository<Account, String> {

    Account findByUsername(String username);
}
